package ooday01;

public class StudentTest {
    public static void main(String[] args) {
        //StudentTest Student类的测试类
        //创建一个对象
        Student stu1=new Student();
        stu1.name="张三";
        stu1.age=18;
        stu1.className="软件1班";
        stu1.stuID="001";
        stu1.study();
        stu1.sleep();
        stu1.sayHi();
        stu1.playWith("李四");

        //创建第二个对象 stu2
        Student stu2=new Student();
        stu2.name="DF.pite";
        stu2.age=18;
        stu2.className="软件1班";
        stu2.stuID="002";
        stu2.study();
        stu2.sleep();
        stu2.sayHi();
        stu2.playWith("李四");

        //创建第三个对象 stu3
        Student stu3=new Student();
        stu3.sayHi();
        stu3.sleep();
        stu3.study();
        stu3.playWith("李四");
    }
}
